<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>一代机运维</title>
  
  <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="../static/css/bootstrap.css">
    <script src="../static/js/jQuery-1.12.4.min.js"></script>
    <script src="../static/js/bootstrap.js"></script>
    <script src="../static/js/scripts.js"></script>
</head>
<body>

<div><ul class="nav nav-tabs btn-lg nav-pills">
  <li class="active"><a href="#system"  data-toggle="tab">系统</a></li>
  <li ><a href="#VDR"  data-toggle="tab">VDR</a></li>
  <li ><a href="#WiFi"  data-toggle="tab">WiFi</a></li>
  <li ><a href="#video"  data-toggle="tab">视频</a></li>
</ul>

<div class="input-group">
  <span class="input-group-addon">SN/ID</span>
  <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="dev_sn">
</div>

<br>

<div id="myTabContent" class="tab-content">
  <div class="tab-pane fade in active" id="system">
    <div class="btn-group">
      <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        查询 <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_system_build()">查询系统版本</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_mount()">查询挂载状态</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_uptime()">查看运行时长</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_ps()">查看设备进程</a></li>
      </ul>
      </ul>
    </div>

    <div class="btn-group">
      <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        操作  <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_sysupgrade()">升级系统</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_force_sysupgrade()">强制升级</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_reboot()">重启设备</a></li>
      </ul>
      </ul>
    </div>
  </div>

  <div class="tab-pane fade" id="VDR">
    <div class="btn-group">
      <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        查询 <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
       <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_vdr_config()">查询北斗配置</a></li>
       <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_speed_limit()">查看限速配置</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_gps_signal()">查询GPS信号均值</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_scinfo()">查看司机卡信息</a></li>
          <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_vdr0200()">查看0200交互</a></li>
          <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_drive_time()">查看疲劳驾驶配置</a></li>
      </ul>
      </ul>
    </div>

    <div class="btn-group">
      <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
       操作  <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_restart_vdr()">重启北斗进程</a></li>
        <li><a href="#tab_dev_opt_speed_limit_config"  data-toggle="tab">配置最高限速</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_tts_test()">发送TTS语音测试</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_upvdr()">升级北斗正式版</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_upvdr_beta()">升级北斗测试版</a></li>
        <li><a href="#tab_dev_opt_vdr_server_config"  data-toggle="tab">配置北斗服务器</a></li>
          <li><a href="#tab_dev_opt_vdr1_plate_config"  data-toggle="tab">配置车牌号</a></li>
          <li><a href="#tab_dev_opt_color1_config"  data-toggle="tab">配置车牌颜色</a></li>
          <li><a href="#tab_dev_opt_sim1_config"  data-toggle="tab">配置SIM号</a></li>
          <li><a href="#tab_dev_opt_vin1_config"  data-toggle="tab">配置车架号</a></li>
        <li><a href="#tab_dev_opt_add_mirror_config"  data-toggle="tab">增加镜像服务器</a></li>
        <li><a href="#tab_dev_opt_del_mirror_config"  data-toggle="tab">删除镜像服务器</a></li>
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_vdr_log()">取回VDR日志</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_overtime_config()">配置疲劳驾驶</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_speed_tts()">速度异常语音开关</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_speed_limit_tts()">超速报警语音开关</a></li> -->
        <!-- <li><a href="#tab_dev_opt_simno_config"  data-toggle="tab">配置sim卡号</a></li> -->
      </ul>
      </ul>
    </div>
  </div>

  <div class="tab-pane fade" id="WiFi">
    <div class="btn-group">
      <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        查询 <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_auth_status()">查看放行状态</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_showflow()">查看放行详情</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_dhcp_status()">查询dhcp状态</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_arp()">查询arp信息</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_qos()">查询Qos配置</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_urlfilter()">查询url过滤配置</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_local_log()">查询local日志</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_access_log()">查看access日志</a></li>
      </ul>              
      </ul>
    </div>
      
    <div class="btn-group">
      <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        操作  <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_url_filter()">启停URL过滤</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_itc_limit()">启停ITC限速</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_repair_ssd()">修复SDA分区</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_tiny_web()">推送Tiny网站</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_web_file()">更新网站文件</a></li>
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_php_config()">更新PHP配置</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_update_init()">更新init文件</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_update_host()">更新host</a></li> -->
      </ul>
      </ul>
    </div>
  </div>

  <div class="tab-pane fade" id="video">
    <div class="btn-group">
      <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        查询 <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_port_info()">查询端口连接信息</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_camera_ps()">查询摄像头进程</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_camera_ip()">查询摄像头IP地址</a></li>
        <li><a href="#default" data-toggle="tab" type="button" onclick="dev_get_vdr9101()">查看实时视频请求</a></li>
      </ul>
      </ul>
      </div>
      
      <div class="btn-group">
      <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        操作  <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
      <ul class="nav nav-tabs">
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_reboot_camera_ps()">重启摄像头进程</a></li> -->
        <!-- <li><a href="#default" data-toggle="tab" type="button" onclick="dev_opt_port_switch()">开关摄像头端口</a></li> -->
      </ul>
      </ul>
    </div>
  </div>
</div>

<div id="TabContent" class="tab-content">
    <div class="tab-pane fade" id="default">
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_gateway_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入网关地址</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="gateway">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_gateway_config()">提交</a>
    </form>
  </div>

       <div class="tab-pane fade" id="tab_dev_opt_vdr1_plate_config">
    <form class="navbar-form">
      <div class="form-group">
           <span class="label label-primary">选择车牌首字:</span>
            <select class="form-control" id="plate_num1">
                <option value ="10">川</option>
                <option value ="11">鄂</option>
                <option value ="12">甘</option>
                <option value ="13">赣</option>
                <option value ="14">贵</option>
                <option value ="15">桂</option>
                <option value ="16">黑</option>
                <option value ="17">沪</option>
                <option value ="20">吉</option>
                <option value ="21">冀</option>
                <option value ="22">津</option>
                <option value ="23">晋</option>
                <option value ="24">京</option>
                <option value ="25">辽</option>
                <option value ="26">鲁</option>
                <option value ="27">蒙</option>
                <option value ="30">闽</option>
                <option value ="31">宁</option>
                <option value ="32">青</option>
                <option value ="33">琼</option>
                <option value ="34">陕</option>
                <option value ="35">苏</option>
                <option value ="36">皖</option>
                <option value ="37">湘</option>
                <option value ="40">新</option>
                <option value ="41">渝</option>
                <option value ="42">豫</option>
                <option value ="43">粤</option>
                <option value ="44">云</option>
                <option value ="45">藏</option>
                <option value ="46">浙</option>
                <option value ="47">检</option>
            </select>
          <span class="label label-primary">输入车牌剩余6位</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="plate_num2">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr1_plate_config()">提交</a>
    </form>
  </div>
       <div class="tab-pane fade" id="tab_dev_opt_color1_config">
    <form class="navbar-form">
      <div class="form-group">
           <span class="label label-primary">选择车牌颜色:</span>
            <select class="form-control" id="color1">
                <option value ="2">黄色</option>
                <option value ="1">蓝色</option>
                <option value ="3">黑色</option>
                <option value ="4">白色</option>
                <option value ="9">其他</option>
            </select>
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr_color1_config()">提交</a>
    </form>
  </div>
    <div class="tab-pane fade" id="tab_dev_opt_speed_limit_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入限速值</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="speed">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr1_speed_config()">提交</a>
    </form>
  </div>
    <div class="tab-pane fade" id="tab_dev_opt_sim1_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入SIM号</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="sim1">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr_sim1_config()">提交</a>
    </form>
  </div>
     <div class="tab-pane fade" id="tab_dev_opt_vin1_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入车架号(17位VIN)</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="vin1">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr_vin1_config()">提交</a>
    </form>
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_tts_vol_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入音量值（1-3）</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="vol">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_tts_vol_config()">提交</a>
    </form>
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_vdr_server_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入服务器地址</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="server">
      </div>
      <div class="form-group">
      <span class="label label-primary">输入TCP端口</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="tcp">
      </div>
      <div class="form-group">
      <span class="label label-primary">输入UDP端口</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="udp">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_vdr_server_config()">提交</a>
    </form>
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_add_mirror_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入镜像服务器地址</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="add_server">
      </div>
      <div class="form-group">
      <span class="label label-primary">输入TCP端口</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="add_tcp">
      </div>
      <div class="form-group">
      <span class="label label-primary">输入UDP端口</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="add_udp">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_add_mirror_config()">提交</a>

    </form>
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_del_mirror_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入镜像服务器地址</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="del_server">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_del_mirror_config()">提交</a>
    </form>
  </div>
  <div class="tab-pane fade" id="tab_dev_opt_simno_config">
    <form class="navbar-form">
      <div class="form-group">
      <span class="label label-primary">输入SIM卡号</span>
      <input type="text" class="form-control" placeholder="" aria-describedby="basic-addon1" id="simno">
      </div>
      <a type="button" class="btn btn-danger" onclick="dev_opt_simno_config()">提交</a>
    </form>
  </div>
</div>

<div class="jumbotron" style="margin-top:1px;"><pre id="result_msg"></pre></div>


</body></html>